export default {
  path: '/auth',
  name: 'auth',
  component: () => import('@/layout/index.vue'),
  meta: { title: '权限管理' },
  redirect: '/auth/menu',
  children: [
    {
      path: '/auth/menu',
      name: 'authMenu',
      component: () => import('@/views/auth/menu.vue'),
      meta: { title: '菜单管理' }
    },
    {
      path: '/auth/role',
      name: 'authRole',
      component: () => import('@/views/auth/role.vue'),
      meta: { title: '角色管理' }
    },
    {
      path: '/auth/user',
      name: 'authUser',
      component: () => import('@/views/auth/user.vue'),
      meta: { title: '用户管理' }
    }
  ]
}
